<template>
	<view class="wrapper">
		<view>
			<view class="top">
				<view class="center">
					<view class="center_top">
						<view class="center_img">
							<image src="/static/i10.png"></image>
						</view>
						<view class="center_info">
							<view class="center_name">
								<view>天天</view>
							</view>
							<view class="center_vip">
								<image class="rank_icon" src='/static/icon-2.png' />
								<view class="vip_text">
									<text>普通会员</text>
								</view>
							</view>
						</view>
					
					</view>
				</view>
				<image src='' mode='scaleToFill' class='gif-wave'></image>
			</view>
		</view>


		<view class="count">
			<view class="cell"> 8 <text style="color: #AAAAAA;">我的笔记</text> </view>
			<view class="cell"> 14 <text style="color: #AAAAAA;">我关注的</text> </view>
			<view class="cell"> 18 <text style="color: #AAAAAA;">我的粉丝</text> </view>
			<view class="cell"> 84 <text style="color: #AAAAAA;">我的足迹</text> </view>
		</view>

		<view class="extra">
			<view  class="item icon-arrow">联系客服</view>
			<view class="item icon-arrow">意见反馈</view>
			<view class="item icon-arrow">退出登录</view>
		</view>
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				
			}
		},
		
		methods: {
			
		}
	};
</script>

<style scoped lang="scss">

	.top {
		width: 100%;
		height: 130px;
		background: #EEEEEE;
		padding-top: 15px;
		position: relative;
	}

	.center {
		width: 95%;
		height: 100px;
		background: white;
		display: flex;
		flex-direction: column;
		margin: 0 auto;
		border-radius: 5px;
	}

	.center_top {
		display: flex;
		flex-direction: row;
		width: 90%;
		height: 80px;
		margin: 0 auto;
		margin-top: 20rpx;
		border-bottom: 1px solid #EEEEEE;
	}

	.center_img {
		width: 66px;
		height: 66px;
		border-radius: 50%;
		overflow: hidden;
	}

	.center_img image {
		width: 100%;
		height: 100%;
		border-radius: 50%;
	}

	.center_img .user_head {
		width: 100%;
		height: 100%;
	}

	.center_info {
		display: flex;
		flex-direction: column;
		margin-top: 20rpx;
		margin-left: 30px;
	}

	.center_name {
		font-size: 20px;
	}

	.center_phone {
		color: #BEBEBE;
	}

	.center_rank {
		width: 50%;
		height: 35px;
		display: flex;
		flex-direction: row;
	}

	.rank_text {
		height: 35px;
		line-height: 35px;
		margin-left: 10rpx;
		color: #AAAAAA;
	}
	.center_vip{
		display: flex;
		justify-content: center;
		margin-top:20rpx;
	}

	.center_vip image {
		width: 25px;
		height: 25px;
	}

	.vip_icon {
		width: 25px;
		height: 25px;
	}

	.vip_text {
		margin-left:10rpx;
		color: #AAAAAA;
	}

	.center_rank image {
		width: 35px;
		height: 35px;
	}

	.center_score {
		width: 50%;
		height: 35px;
		display: flex;
		flex-direction: row;
	}

	.center_score image {
		width: 35px;
		height: 35px;
	}

	.gif-wave {
		position: absolute;
		width: 100%;
		bottom: 0;
		left: 0;
		z-index: 99;
		mix-blend-mode: screen;
		height: 100rpx;
	}

	.wrapper {
		position: absolute;
		top: 0;
		bottom: 0;

		width: 100%;
		background-color: #F4F4F4;
	}

	.profile {
		height: 375rpx;
		background-color: #ea4451;
		display: flex;
		justify-content: center;
		align-items: center;

		.meta {
			.avatar {
				display: block;
				width: 140rpx;
				height: 140rpx;
				border-radius: 50%;
				border: 2rpx solid #fff;
				overflow: hidden;
			}

			.nickname {
				display: block;
				text-align: center;
				margin-top: 20rpx;
				color: #fff;
			}
		}
	}

	.count {
		display: flex;
		margin: 0 20rpx;
		text-align: center;
		border-radius: 4rpx;
		background-color: #fff;
		position: relative;
		.cell {
			flex: 1;
			padding-top: 20rpx;
			padding-bottom:20rpx;
			color: #333;
			font-size:120%
		}

		text {
			display: block;
			font-size:80%
		}
	}

	.orders {
		margin: 20rpx 20rpx 0 20rpx;
		padding: 40rpx 0;
		background-color: #fff;
		border-radius: 4rpx;

		.title {
			padding-left: 20rpx;

			color: #333;
			padding-bottom: 20rpx;
			border-bottom: 1rpx solid #eee;
			margin-top: -30rpx;
		}

		.sorts {
			padding-top: 30rpx;
			text-align: center;
			display: flex;
		}

		[class*="icon-"] {
			flex: 1;


			&::before {
				display: block;

				margin-bottom: 8rpx;
				color: #ea4451;
			}
		}
	}

	.address {
		line-height: 1;
		background-color: #fff;

		padding: 25rpx 0 25rpx 20rpx;
		margin: 10rpx 20rpx;
		color: #333;
		border-radius: 4rpx;
	}

	.extra {
		margin: 0 20rpx;
		margin-top:80rpx;
		background-color: #fff;
		border-radius: 4rpx;

		.item {
			line-height: 1;
			padding: 25rpx 0 25rpx 20rpx;
			border-bottom: 1rpx solid #eee;
	
			color: #333;
		}

		button {
			text-align: left;
			background-color: #fff;

			&::after {
				border: none;
				border-radius: 0;
			}
		}
	}

	.icon-arrow {
		position: relative;

		&::before {
			position: absolute;
			top: 50%;
			right: 20rpx;
			transform: translateY(-50%);
		}
	}
</style>

